package com.itheima.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.mapper.DeptMapper;
import com.itheima.service.DeptService;
import org.springframework.stereotype.Service;
import com.itheima.domain.po.Dept;

import java.util.List;

@Service
public class DeptServiceImpl extends ServiceImpl<DeptMapper,Dept> implements DeptService {

    @Override
    public List<Dept> findAllDept() {
        return this.list();
    }
}
